const store = {
  debug: true,
  state: {
    //重点视频
    keyVideoList: [],
    keyVideoShow: true,

    //销售成交趋势
    transTrendShow: false,

    //罐区安控实时监测数据
    potshow: true,

    //罐区位置示意图
    potPlaceshow: true,
    transTrendShow: false,

    //销售bottom
    salesCategoryShow: false,

    //月度能耗总览
    monthlyPonsumpShow: false,


    //系统底部渐变
    sysBottomBgShow: true,
  },
  poiLayer: {
    show: true,
  },
  mapEco: {
    show: false
  },
  setpoimapEcoShowAction(newValue) {
    if (this.debug) {}
    this.mapEco.show = newValue
  },
  setpoiLayerShowAction(newValue) {
    if (this.debug) {}
    this.poiLayer.show = newValue
  },
  setKeyVideoListAction(newValue) {
    if (this.debug) {}
    this.state.keyVideoList = newValue
  },
  setKeyVideoShowAction(newValue) {
    if (this.debug) {}
    this.state.keyVideoShow = newValue
  },

  setTransTrendShowtAction(newValue) {
    if (this.debug) {}
    this.state.transTrendShow = newValue
  },
  setTranspotshowAction(newValue) {
    if (this.debug) {}
    this.state.potshow = newValue //实时监测数据
    this.state.potPlaceshow = newValue //罐区位置
  },
  setSalesCategoryShowtAction(newValue) {
    if (this.debug) {}
    this.state.salesCategoryShow = newValue
  },
  setMonthlyPonsumpShowtAction(newValue) {
    if (this.debug) {}
    this.state.monthlyPonsumpShow = newValue
  },
  setSysBottomBgShowAction(newValue) {
    if (this.debug) {}
    this.state.sysBottomBgShow = newValue
  },
}

export default store
